package cn.edu.nsmc.modules.sys.service.impl;

import cn.edu.nsmc.common.utils.PageUtils;
import cn.edu.nsmc.common.utils.Query;
import cn.edu.nsmc.modules.sys.dao.SysWorksheetRepairDao;
import cn.edu.nsmc.modules.sys.entity.SysWorksheetRepairEntity;
import cn.edu.nsmc.modules.sys.service.SysWorksheetRepairService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


@Service("sysWorksheetRepairService")
public class SysWorksheetRepairServiceImpl extends ServiceImpl<SysWorksheetRepairDao, SysWorksheetRepairEntity> implements SysWorksheetRepairService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SysWorksheetRepairEntity> page = this.page(
                new Query<SysWorksheetRepairEntity>().getPage(params),
                new QueryWrapper<SysWorksheetRepairEntity>()
        );

        return new PageUtils(page);
    }

}